package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Organization;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IOrganizationService {
    List<Organization> selectAll();

    PageResult query(QueryObject qo);

    void insert(Organization record);

    void updateByPrimaryKey(Organization dept);

    void changeState(Long id);

    Organization selectId(Long id);
}
